package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 业务代理人应该是全局性的，表述某人的某项业务由谁来代理
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfBusinessAgent extends Model<BdpWfBusinessAgent> {

    private static final long serialVersionUID=1L;

    /**
     * 代理人标识
     */
    @TableId("AGENT_ID")
    private String agentId;

    /**
     * 代理说明
     */
    @TableField("AGENT_NAME")
    private String agentName;

    /**
     * 人员
     */
    @TableField("USER_ID")
    private String userId;

    /**
     * 可能暂时用不上
     */
    @TableField("BIZ_SIGN")
    private String bizSign;

    /**
     * 代理人
     */
    @TableField("AGENT_USER_ID")
    private String agentUserId;

    /**
     * 启用标志
     */
    @TableField("ENABLE_FLAG")
    private Integer enableFlag;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;


    public String getAgentId() {
        return agentId;
    }

    public BdpWfBusinessAgent setAgentId(String agentId) {
        this.agentId = agentId;
        return this;
    }

    public String getAgentName() {
        return agentName;
    }

    public BdpWfBusinessAgent setAgentName(String agentName) {
        this.agentName = agentName;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public BdpWfBusinessAgent setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getBizSign() {
        return bizSign;
    }

    public BdpWfBusinessAgent setBizSign(String bizSign) {
        this.bizSign = bizSign;
        return this;
    }

    public String getAgentUserId() {
        return agentUserId;
    }

    public BdpWfBusinessAgent setAgentUserId(String agentUserId) {
        this.agentUserId = agentUserId;
        return this;
    }

    public Integer getEnableFlag() {
        return enableFlag;
    }

    public BdpWfBusinessAgent setEnableFlag(Integer enableFlag) {
        this.enableFlag = enableFlag;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfBusinessAgent setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfBusinessAgent setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfBusinessAgent setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfBusinessAgent setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.agentId;
    }

    @Override
    public String toString() {
        return "BdpWfBusinessAgent{" +
        "agentId=" + agentId +
        ", agentName=" + agentName +
        ", userId=" + userId +
        ", bizSign=" + bizSign +
        ", agentUserId=" + agentUserId +
        ", enableFlag=" + enableFlag +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        "}";
    }
}
